package org.ysu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import org.ysu.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 上传文件表
 * </p>
 *
 * @author LiuShuo
 * @since 2024-08-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("upload_file")
@ApiModel(value = "UploadFile对象", description = "上传文件表")
public class UploadFile extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("md5")
    private String md5;

    @ApiModelProperty("文件大小")
    private Long size;

    @ApiModelProperty("文件类型")
    private String contentType;

    @ApiModelProperty("路径")
    private String path;


}
